import req1 from '@/lib/req1.js'
// 面试计划 请求渲染
export function  InterInfo(){
  return req1.get('/recruit/interviewList')
}
// 添加面试
export function Addmians({name,phone,interviewDate,interviewer,result,createDate}){
  console.log(name,phone,interviewDate,interviewer,result,createDate);
  return req1.post('/recruit/interviewAdd',{
    name,phone,interviewDate,interviewer,result,createDate
  })
}
// 更新面试结果
export function gengListAPI({id,result}){
  return req1.put('/recruit/interviewUpdate',{id,result})
}
//删除考核
export function DeleteAPI(id){
  return req1.delete('/recruit/interviewDelete',{id})
}
// 页面搜索查询
export function souchaListApi({name,phone}){
  return req1.get('/recruit/interviewLike',{ name,phone})
}
// 查询面试官
export function  chaListApi(){
  return req1.get('/recruit/interviewRole')
}
